effect give @a[tag=waerte] resistance 2 0 true
#被动技能【破晓】
execute as @a[tag=waerte,scores={skIron_sword0=1..}] at @s run function nw:yingxiong/1yingxiong/07anshazhe/skill/1poxiao

#主动技能【行刺】
execute as @a[tag=waerte,scores={skEgg=1..}] at @s run function nw:yingxiong/1yingxiong/07anshazhe/skill/2xingci
#主动技能【行刺】CD
execute as @a[tag=waerte,scores={skCDEgg=0}] at @s run function nw:yingxiong/1yingxiong/07anshazhe/skill/2xingci_cd
#主动技能【行刺】特效
execute as @a[tag=waerte,scores={skCDEgg=10..}] at @s run particle smoke ~ ~1 ~ 0.1 0.1 0.1 0.01 1 normal @a
execute as @a[tag=waerte,scores={skCDEgg=10..}] at @s run particle smoke ~ ~1 ~ 0.1 0.1 0.1 0.01 1 normal @a

#主动技能【移形】
execute as @a[tag=waerte,scores={skEXBottle=1}] at @s run function nw:yingxiong/1yingxiong/07anshazhe/skill/3yixing1
#主动技能【移形】二段：闪烁
execute as @a[tag=waerte,scores={skCDPlayer1=19}] at @s run function nw:yingxiong/1yingxiong/07anshazhe/skill/3yixing2
#主动技能【移形】三段：【幻影】
execute as @a[tag=waerte,scores={skCDPlayer1=11..,skEXBottle=3..}] at @s run function nw:yingxiong/1yingxiong/07anshazhe/skill/4huanying
#主动技能【移形】四段：【散】
execute as @a[tag=waerte,scores={skCDPlayer1=1..10,skEXBottle=3..}] at @s run function nw:yingxiong/1yingxiong/07anshazhe/skill/4san
#主动技能【移形】CD
execute as @a[tag=waerte,scores={skCDEXBottle=0}] at @s run function nw:yingxiong/1yingxiong/07anshazhe/skill/3yixing_cd

#【移形】10秒后清除“影”
kill @e[type=armor_stand,tag=ying,scores={skCDEntity=10..}]
execute as @a[tag=waerte] run title @s actionbar [{"text":"行刺","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"正在冷却：","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"score":{"objective":"skCDEgg","name":"@s"},"color":"aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" 移形","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"正在冷却：","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"score":{"objective":"skCDEXBottle","name":"@s"},"color":"aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" 当前后置技能：","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"无","color":"aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]

execute as @a[tag=waerte,scores={skCDPlayer1=11..}] run title @s actionbar [{"text":"行刺","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"正在冷却：","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"score":{"objective":"skCDEgg","name":"@s"},"color":"aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" 移形","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"正在冷却：","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"score":{"objective":"skCDEXBottle","name":"@s"},"color":"aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" 当前后置技能：","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"幻影","color":"aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]

execute as @a[tag=waerte,scores={skCDPlayer1=1..10}] run title @s actionbar [{"text":"行刺","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"正在冷却：","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"score":{"objective":"skCDEgg","name":"@s"},"color":"aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" 移形","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"正在冷却：","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"score":{"objective":"skCDEXBottle","name":"@s"},"color":"aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" 当前后置技能：","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"散","color":"aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
